import java.io.Serializable;


public class Action implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private draggableLabel placedTile;
	private Team activeTeam;
	private draggableLabel replacedTile;
	public draggableLabel getReplacedTile() {
		return replacedTile;
	}
	public void setReplacedTile(draggableLabel replacedTile) {
		this.replacedTile = replacedTile;
	}
	public Action(draggableLabel tile,Team team)
	{
		this.placedTile=tile;
		this.activeTeam=team;
	}
	public Action(draggableLabel tile)
	{
		this.placedTile=tile;
	}
	public draggableLabel getPlacedTile() {
		return placedTile;
	}
	public void setPlacedTile(draggableLabel placedTile) {
		this.placedTile = placedTile;
	}
	public Team getActiveTeam() {
		return activeTeam;
	}
	public void setActiveTeam(Team activeTeam) {
		this.activeTeam = activeTeam;
	}
	public boolean hasReplacedTile()
	{
		if(replacedTile!=null)
			return true;
		else return false;
	}
}
